
// ignore_for_file: unused_local_variable

import 'package:favourcate/core/model/category_model.dart';
import 'package:favourcate/ui/pages/meal/meal_content.dart';
import 'package:flutter/material.dart';

class GLMealScreen extends StatelessWidget {

  static const String routeName = '/meal';

  const GLMealScreen({ Key? key }) : super(key: key);

  @override
  Widget build(BuildContext context) {

    // 获取路由参数
    final category = ModalRoute.of(context)!.settings.arguments as GLCategoryModel;
    return Scaffold(
      appBar: AppBar(
        title: Text('${category.title}'),
      ),
      // body: GLMealContainer(),
      body: const GLMealContent(),
    );
  }
}